import turtle

# 创建一个窗口和画笔
screen = turtle.Screen()
pen = turtle.Turtle()

# 设置画笔属性
pen.speed(10)
pen.color("red")

# 绘制花朵
for i in range(36):
    pen.circle(50)
    pen.right(10)

# 绘制花茎
pen.right(90)
pen.penup()
pen.forward(20)
pen.pendown()
pen.color("green")
pen.forward(150)

# 点击关闭窗口
screen.exitonclick()